package com.evildog.workspace.system.application.vo;

import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * componentPermission
 * </p>
 *
 * @author evildog
 * @since 2020-07-25
 */
@Data
@Accessors(chain = true)
@ApiModel(value="ComponentPermission分页视图对象", description="component(组件/按钮等)权限 组件必须依附于menu")
public class ComponentPermissionListVO implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "菜单id")
    private Long menuPermissionId;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "前端判断权限code（ menu-component必须唯一）")
    private String code;

    @ApiModelProperty(value = "状态 0 禁用 1 正常")
    private Integer status;

    @ApiModelProperty(value = "备注")
    private String remark;


    @ApiModelProperty(value = "创建人id")
    private Long createUserId;

    @ApiModelProperty(value = "更新人id")
    private Long updateUserId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;



}
